<?php
/**
* Django's templating engine (partial) PHP implementation
* @link http://djangoproject.com Django
* this file is from a webappkit package (kit)
* @link http://webappkit.net
* @package djtpl
* @author J.Ducastel <nospam0@ducastel.name>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/

/**
* text node
*/
class djtplTextNode extends DjTplNode {

    /**
    * renders as string
    * @access public
    * @return string
    */
    function render() {
        return $this->text;
    }/**/

    /**
    * builds from token
    * @param djtplToken $selfToken
    * @access public
    * @return bool
    */
    function buildFromTokens($selfToken) {
        $this->text=$selfToken->str;
        return true;
    }/**/
}